<?PHP
/*
*	File: 		includes/topic/board.class.php
*	Use:		Board Class
*	Functions:	
*
*	Misc:		Class: users
*				Description: handles querys about users (logins, profile changes, etc)
*
*	Coder:		Andrew Thorne, UK
*	Copyright:	No part of this code may be used for any purpose other 
*				than the original intended purpose without prior written 
*				permission of Andrew Thorne. 
*				Use for any other purpose is expressly prohibited by law, 
*				and may result in civil and criminal penalties.
*
*	Contact:	omgrofl@hotmail.co.uk
*
*/
	

class config {

	
	/* 
	*
	* Function: getTopic
	*
	*/
	public function getVal($db, $value){
		
		$prefix = $db->getPrefix();	
		$result = $db->query("SELECT config_value FROM ".$prefix."config WHERE config_name='".$db->prep($value)."'");
		return mysql_result($result, 0, 'config_value');
		
	}

}
?>